﻿using System;
using Medianamik.Core;
using Medianamik.UI.Web.MVP.Presentation;

namespace Medianamik.UI.Web.Shop.Presentation.Presenters
{
    public class AttributeTypeListPresenter<TView>: ModulePresenterWithNodeTypeGrid<TView>
        where TView : class, IAttributeTypeListView
    {
        public AttributeTypeListPresenter(TView view)
            : base(view)
        {
        }

        protected override Guid BaseNodeType
        {
            get { return TypeIds.AttributeTypeBase; }
        }

        protected override string ChildrenListingPageParamName
        {
            get
            {
                return DefaultParamNames.TypeID;
            }
        }
    }
}